// pages/Domains/DomainDetail.tsx
import React from 'react';
import { useParams } from 'react-router-dom';

const DomainDetail: React.FC = () => {
  const { name } = useParams<{ name: string }>();

  return (
    <div className="p-6">
      <h2 className="text-2xl font-bold mb-4">Domain Details</h2>
      <div className="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
        <p>Domain name: {name}</p>
        <p className="text-gray-500 mt-4">Domain details would be displayed here.</p>
      </div>
    </div>
  );
};

export default DomainDetail;